package com.example.components.model;

import java.util.Date;

public class User {
    private Integer id;
    private String name;
    private Date createDate;
    private String password;

    public User() {
    }

    public User(int id, String name, Date createDate) {
        this.id = id;
        this.name = name;
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "user [id=" + id + ",name=" + name + ",createDate=" + createDate + ",password=" + password + "]";
    }

}